package com.portal.sso.server.impl;

import cn.hutool.core.util.StrUtil;
import com.portal.sso.core.server.PortalUserServer;

public class SimplePortalUserServer implements PortalUserServer {
    @Override
    public boolean Verification(String userId, String pwd) {

        if(StrUtil.isEmpty(userId)||StrUtil.isEmpty(pwd)){
            return false;
        }

        return "admin".equals(userId)&&"123456".equals(pwd);
    }
}
